Hi, I'm trying to incorporate a rich text editor but always stumble when it comes to save the rich text. The other notes fields save but the HTML field doesn't.
I have the front end editor working and you can see the HTML textarea below.
Facts:
Content Type is set to notes.
Form is set to 'render pass through HTML in notes'.
'Generate HTML for all fields' is unticked.
My save button is a notes button with @Command([FileSave]) behind it.
I've created a notes text field to capture the rich text and have called this 'input' with HTML attributes of type="hidden". I've tried using this field as editable and computed without success.
Can someone help?
<textarea name="input" id="input" style="width:400px; height:200px"></textarea>
<script type="text/javascript">
new TINY.editor.edit('editor',{
id:'input',
width:480,
height:175,
cssclass:'te',
controlclass:'tecontrol',
rowclass:'teheader',
dividerclass:'tedivider',
controls:['bold','italic','underline','|',
'orderedlist','unorderedlist','|','outdent','indent','|','leftalign',
'centeralign','rightalign','blockjustify','|','undo','redo','n',
'font','size','style','|','hr','link','unlink','|','cut','copy','paste'],
footer:true,
fonts:['Verdana','Arial','Georgia','Trebuchet MS'],
xhtml:false,
cssfile:'FE-RichText.css',
bodyid:'editor',
footerclass:'tefooter',
toggle:{text:'source',activetext:'wysiwyg',cssclass:'toggle'},
resize:{cssclass:'resize'}
});
</script>
 
Feedback number WEBB8DR83M created by ~Hal Dwoboosilygon on 02/04/2011

Status: Open
Comments:

Rich text editor and textarea not s... (~Hal Dwoboosily... 4.Feb.11)
. . built-in editor (~Sean Nimjumipl... 4.Feb.11)
. . . . See scriptiny and other editors... (~Hal Dwoboosily... 4.Feb.11)
. . . . . . 8.5.2 can use dojo editor or CKedit... (~Paul Minalitod... 10.Feb.11) |